{{if preg_match('/MSIE 6.0/i',$_SERVER['HTTP_USER_AGENT'])}}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="/favicon.ico" type="image/x-icon" rel="icon" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
{{else}}<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="description" content="">
<meta name="author" content="">
{{/if}}
<meta http-equiv="pragram" content="no-cache">
<!-- iOS web-app metas : hides Safari UI Components and Changes Status Bar Appearance -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<title>{{$site[title]}}</title>
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<script>
	alert('您的浏览器已过期，请升级浏览器到最新版本，获得更流畅的体验');
</script>
<style>
.ui-tabs-nav li{width:100px;overflow:hidden;height:30px;}
#leftmenucontent .nav-stacked li {width:200px;}
</style>
<![endif]-->

<?php
		echo $this->Html->css(array(
			'ui.jqgrid','redmond/jquery-ui-1.10.3.custom.min.css', /*jquery-ui-icons jqgrid依赖jqueryui的部分图标*/
		));
?>
<!-- 
<link rel="stylesheet/less" type="text/css" href="{{APP_SUB_DIR}}/data/less/miaocms-dev.less" />
{{$this->Html->script('less-1.7.0.min.js');}}
 -->
<?php
	echo $this->Combinator->less($admin_style_id);
?>

<?php
		echo $this->Html->css(array(
			
			'font-awesome.min.css',
			'chosen',
			'ui-customer','style',
            'admin',
            'swfupload',
			'jquery.jgrowl.css',
        ));

        echo $this->Html->script(array(
			'jquery/jquery.min.js',
			'jquery/jquery-migrate-1.2.1.min.js',
			'less-1.7.0.min.js',
			//'jquery/validator.js',
			'jquery/jquery.validate.js',
			'jquery/jquery.cookie.js',
			'jquery/chosen.jquery.js',
			'jquery/ajax-chosen.min.js',
            'jquery/jquery-ui-1.10.3.custom.min.js',
			'jquery/jquery.jgrowl.min.js',
			'jqgrid/i18n/grid.locale-cn',
        	'jqgrid/jquery.jqGrid.min.js',
			'i18n/language-zh-cn',
			'common',
            'admin',
        ));
?>
<!--[if lt IE 9]>
	{{$this->Html->script(array(
			'jquery/jquery.mb.browser.min.js'))}}
<![endif]-->
<script type="text/javascript">
var BASEURL  = "{{APP_SUB_DIR}}";
var ADMIN_BASEURL = "{{ADMIN_SUB_DIR}}";
var mainContent_width=900;
</script>
</head>
<body class="desktop-detected fixed-header fixed-ribbon  fixed-navigation smart-style-3">
